package com.qf.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
public class BaseResult {

    private Integer code;
    private Object info;
    private Long count;
    private Object data;

    public BaseResult(Integer code, Object info, Long count, Object data) {
        this.code = code;
        this.info = info;
        this.count = count;
        this.data = data;
    }

    public BaseResult() {
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Object getInfo() {
        return info;
    }

    public void setInfo(Object info) {
        this.info = info;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "BaseResult{" +
                "code=" + code +
                ", info=" + info +
                ", count=" + count +
                ", data=" + data +
                '}';
    }
}
